package com.baixun.gassystem.service.impl;

import com.baixun.gasentity.dto.AlarmMeau;
import com.baixun.gasentity.entity.SysVideoMessage;
import com.baixun.gassystem.mapper.AlarmMeauMapper;
import com.baixun.gassystem.service.AlarmMeauService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @program: 上海燃气驾驶舱
 * @description: 查询摄像头管理信息
 * @author: yesong
 **/
public class AlarmMeauServiceImpl extends ServiceImpl<AlarmMeauMapper, AlarmMeau> implements AlarmMeauService {

@Autowired
private AlarmMeauMapper alarmMeauMapper;

    /**
     * 查询摄像头所有信息
     * @return
     */
    @Override
    public List<AlarmMeau> getAllAlarmMeauList(Long pointID) {
        // 创建查询条件
        QueryWrapper<AlarmMeau> q = new QueryWrapper<>();
        q.eq("point_id",null);
        return alarmMeauMapper.selectList(q);
    }
}
